import { IsNotEmpty } from 'class-validator';

export class CreateWireDto {
  @IsNotEmpty({ message: '名称不能为空' })
  wireName: string;

  @IsNotEmpty({ message: '型号不能为空' })
  wireStyle: string;

  @IsNotEmpty({ message: '自重不能为空' })
  wireWeight: number;

  wirePower?: number;

  remark?: string;
}
